////////////////////////////////////////////////////////////////////////////////
// $Id$
// Copyright (C) 2008
// Emory Merryman
// ree9opdz@gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
////////////////////////////////////////////////////////////////////////////////

package com . linglingqi . factories ;

/**
 * A generic factory for making things.
 *
 * @param <R> the type of thing to be made.
 * @param <P1> the type of the first parameter
 * @param <P2> the type of the second parameter
 * @param <P3> the type of the third parameter
 * @param <E> the type of Exception than can be thrown
 *
 * @author $Author$
 * @version $Revision$
 * <PRE>
      $URL$, $HeadURL$             - The URL for the head version of the object.
      $Author$, $LastChangedBy$    - The last person to modify the file.
      $Date$, $LastChangedDate$    - The date/time the object was last modified.
      $Rev$, $Revision$,           - The last revision the object changed.
      $LastChangedRevision$
      $Id$                       - A compressed summary of the previous
                                   4 keywords.
				   * </PRE>
				   *
				   *
 **/
public interface
    Factory3 < R , P1 , P2 , P3 , E extends java . lang . Exception >
{
    /**
     * Embedded Copyright Notice.
     **/
    public static final java . lang . String EMBEDDED_COPYRIGHT =
        "Copyright (C) 2008, Emory Merryman, ree9opdz@gmail.com" ;

    /**
     * Makes something based on three parameters.
     *
     * @param p1 the first parameter
     * @param p2 the second parameter
     * @param p3 the third parameter
     * @return the result
     **/
    public abstract R make ( final P1 p1 , final P2 p2 , final P3 p3 )
	throws E ;
}
